package com.neutech.maplestory.entity;

import com.neutech.maplestory.client.MapleStoryClient;

import java.awt.*;

/**
 * 地面类
 * @author Neuedu-远哥
 * @version 1.0
 * @date 2021/12/1 14:51
 */
public class Ground extends AbstractMapleStoryObject {

    public Ground(){}

    public Ground(MapleStoryClient msc,int x, int y,int width,int height){
        this();
        this.msc = msc;
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
    }

    @Override
    public void draw(Graphics g) {
        g.drawRect(x + msc.background.x,y,width,height);
    }
}
